package cz.muni.fi.pa165.ddtroops.daointerfaces;

import cz.muni.fi.pa165.ddtroops.entities.Hero;
import cz.muni.fi.pa165.ddtroops.entities.Squad;

/**
 *  Interface SquadDAO serves as an interface expected from DDGroupDAO class.
 * @author Jan Šťastný
 */

public interface SquadDAO extends BaseDAO<Squad> {
    /**
     * Method getSquadOfHero returns Squad in which is Hero present.
     * @param hero
     * @return
     */
    Squad getSquadOfHero(Hero hero);
}
